<!DOCTYPE html><html><head><title>xuantu</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style>
.note-content  {font-family: 'Helvetica Neue', Arial, 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimSun, Song, sans-serif;}

</style></head><body><div id='preview-contents' class='note-content'>
                        
                    

<h1 id="xuantu">xuantu</h1>

<div><div class="toc"><div class="toc">
<ul>
<li><a href="#xuantu">xuantu</a><ul>
<li><ul>
<li><ul>
<li><ul>
<li><ul>
<li><a href="#1发送验证码">1.发送验证码</a></li>
<li><a href="#2登录">2.登录</a></li>
<li><a href="#3注册">3.注册</a></li>
<li><a href="#4修改密码">4.修改密码</a></li>
<li><a href="#5修改昵称">5.修改昵称</a></li>
<li><a href="#6获取一二级分类">6.获取一二级分类</a></li>
<li><a href="#7获取三级分类">7.获取三级分类</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>

<p><strong>①接口域名</strong>：<a href="http://xtbh.jzbwlkj.com" target="_blank">http://xtbh.jzbwlkj.com</a></p>



<h6 id="1发送验证码">1.发送验证码</h6>

<pre class="prettyprint hljs-dark"><code class="hljs fsharp"><div class="hljs-line">    api/<span class="hljs-keyword">public</span>/sendCode
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    mobile
</div><div class="hljs-line">    <span class="hljs-class"><span class="hljs-keyword">type</span></span>
</div></code></pre>

<h6 id="2登录">2.登录</h6>

<pre class="prettyprint hljs-dark"><code class="hljs actionscript"><div class="hljs-line">    api/<span class="hljs-keyword">public</span>/login
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    mobile
</div><div class="hljs-line">    password
</div></code></pre>

<h6 id="3注册">3.注册</h6>

<pre class="prettyprint hljs-dark"><code class="hljs cpp"><div class="hljs-line">    api/<span class="hljs-keyword">public</span>/<span class="hljs-keyword">register</span>
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    mobile
</div><div class="hljs-line">    password
</div><div class="hljs-line">    code
</div></code></pre>

<h6 id="4修改密码">4.修改密码</h6>

<pre class="prettyprint hljs-dark"><code class="hljs actionscript"><div class="hljs-line">    api/<span class="hljs-keyword">public</span>/resetPwd
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    mobile
</div><div class="hljs-line">    password
</div><div class="hljs-line">    code
</div></code></pre>

<h6 id="5修改昵称">5.修改昵称</h6>

<pre class="prettyprint hljs-dark"><code class="hljs awk"><div class="hljs-line">    api<span class="hljs-regexp">/user/</span>editNick
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    token
</div><div class="hljs-line">    nickname
</div></code></pre>

<h6 id="6获取一二级分类">6.获取一二级分类</h6>

<pre class="prettyprint hljs-dark"><code class="hljs awk"><div class="hljs-line">    api<span class="hljs-regexp">/photo/</span>cateTree
</div></code></pre>

<h6 id="7获取三级分类">7.获取三级分类</h6>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line">    api/photo/getChildrenById
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    <span class="hljs-built_in">id</span>  分类ID
</div></code></pre></div></body></html>